package com.hisoft.exception;
/**
 * 自定义异常
 * @author JohnTest
 *
 */
public class AssertException extends RuntimeException {

	private static final long serialVersionUID = 1424123412341341231L;
	//异常信息
	String messasge = "";
	
	/**
	 * //构造方法
	 * @param messasge
	 */
	
	public AssertException(String messasge) {
		this.messasge = messasge;
	}
	/**
	 * 获得错误信息
	 */
	@Override
	public String getMessage() {
		return messasge;
	}
}
